package solutions.ferpa.ztest.rest.action;

import solutions.ferpa.ztest.rest.model.res.RestRS;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface RestAction {
    String action();
    Class<?> rqType();
    Class<? extends RestRS> rsType();
    boolean restricted() default true;
}